import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: xwl
 * Date: 2023-04-17
 * Time: 9:45
 */
public class Exchange {
    // 方法
    public static String toLowerCase1(String s) {
        StringBuilder stringBuilder = new StringBuilder("");
        for (int i = 0; i < s.length(); i++) {
            if (s.charAt(i) >= 'A' && s.charAt(i) <= 'Z') {
                // 97-65
                stringBuilder.append((char)(s.charAt(i)+32));
            } else {
                stringBuilder.append(s.charAt(i));
            }
        }
        return stringBuilder.toString();
    }
    // main
    public static void main(String[] args) {
        // 输入
        Scanner scan = new Scanner(System.in);
        String str = scan.nextLine();
        // 调用方法
        String str1 = toLowerCase1(str);
        // 输出
        System.out.println(str1);

    }
}
